package com.ycyun.admin.config;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.view.RedirectView;

/**
 * @Author: 哦谢特谢特
 * @Date: 2018/5/18 14:38
 * @Description: 登录配置
 */
@Controller
public class LoginPageConfig {

    @RequestMapping("/")
    public RedirectView loginPage() {
        return new RedirectView("/login.html");
    }

}
